﻿using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace HelloOne.OcelotSvc.Infrastructure
{
    public static class SelectListItemEx
    {
        public static IEnumerable<SelectListItem> HttpMethodListItems = new List<SelectListItem>
        {
            new SelectListItem{Value="Get", Text="Get"},
            new SelectListItem{Value="Post",Text="Post"},
            new SelectListItem{Value="Put",Text="Put"},
            new SelectListItem{Value="Patch",Text="Patch"},
            new SelectListItem{Value="Delete",Text="Delete"}
        };

        public static IEnumerable<SelectListItem> SchemeListItems = new List<SelectListItem>
        {
            new SelectListItem{Value="Http",Text="Http"},
            new SelectListItem{Value="Https",Text="Https"}
        };
    }
}
